﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<B10.Models.ForumPost>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%=Strings.CreateForumPost %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">

    <script src="../../Scripts/MicrosoftAjax.js" type="text/javascript"></script>

    <script src="../../Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>

    <script src="../../ckeditor/ckeditor.js" type="text/javascript"></script>

    <script src="../../Scripts/ckeditor.js" type="text/javascript"></script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%Html.EnableClientValidation(); %>
    <div class="ui-corner-all ui-helper-clearfix alternate-header" id="tabs">
        <div class="ui-widget-header-title">
            Forum - nowy temat
        </div>
    </div>
    <div class="content-wrapper center ui-widget-content ui-corner-all">
        <%using (Html.BeginForm())
          { %>
        <div id="add-post">
            <div class="editor-label">
                <%=Html.LabelFor(model => model.Title)%>:
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.Title)%>
                <%= Html.ValidationMessageFor(model => model.Title)%>
            </div>
            <div class="editor-label">
                <%=Html.LabelFor(model => model.Body) %>:
            </div>
            <% Html.RenderPartial("NewPostForm", Model); %>
        </div>
        <%} %>
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="LeftColumnContent" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="RightColumnContent" runat="server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="RightColumnBottomContent" runat="server">
</asp:Content>
